package STACK_20;

public class Test {

	public static void main(String[] args) {
		boolean res = new Solution().isValid("()[]{}");
		System.out.println(res);
		
		
		
	}

}
